package com.piik.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.piik.common.utils.PageUtils;
import com.piik.mall.product.entity.AttrGroupEntity;
import com.piik.mall.product.vo.AttrGroupWithAttsVO;
import com.piik.mall.product.vo.SpuItemGroupAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author dpd
 * @email sunlightcs@gmail.com
 * @date 2022-09-27 14:16:36
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);


    List<AttrGroupWithAttsVO> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemGroupAttrVo> getAttrgroupWithSpuId(Long spuId, Long catalogId);
}

